
using System;
using System.Text;

using NHibernate;
using NHibernate.Cfg;
using NHibernate.Criterion;
using NHibernate.Exceptions;

using LastFMGenNHibernate.EN.LastFM;
using LastFMGenNHibernate.CAD.LastFM;

namespace LastFMGenNHibernate.CEN.LastFM
{
        public partial class CancionCEN
        {
        public LastFMGenNHibernate.EN.LastFM.CancionEN BuscarCancion (int id)
        {
                /*PROTECTED REGION ID(LastFM.CancionCEN_BuscarCancion_precondition) START*/
                CancionEN cancion = _ICancionCAD.ReadOIDDefault(id);
                // Preconditions
                // if( !() )
                //              throw new ModelException("Method BuscarCancion() preconditions are violated.");

                /*PROTECTED REGION END*/

                /*PROTECTED REGION ID(LastFM.CancionCEN_BuscarCancion_body) ENABLED START*/

                // Body
               // throw new NotImplementedException ("Method BuscarCancion() not yet implemented.");

                /*PROTECTED REGION END*/

                /*PROTECTED REGION ID(LastFM.CancionCEN_BuscarCancion_postcondition) START*/

                // Postconditions
                // if( !() )
                //              throw new ModelException("Method BuscarCancion() postconditions are violated.");
                return (cancion);
                /*PROTECTED REGION END*/
        }
        }
}
